package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 工单工程师签到表，数据一对一
 * </p>
 *
 * @author WEN
 * @since 2024-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWorkEngineerSign对象", description="工单工程师签到表，数据一对一")
public class ZjWorkEngineerSign implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "工单表ID")
    private Long workId;

    @ApiModelProperty(value = "网点表ID")
    private Long networkId;

    @ApiModelProperty(value = "网点人员表ID")
    private Long networkEmpId;

    @ApiModelProperty(value = "工单分派工程师表ID")
    private Long workDispatchEngineerId;

    @ApiModelProperty(value = "签到类型：1-定位签到，2-拍照签到")
    private Integer signType;

    @ApiModelProperty(value = "签到时间/打卡时间")
    private Date signInTime;

    @ApiModelProperty(value = "签到距离，单位：米")
    private Integer signInDistance;

    @ApiModelProperty(value = "签到地址-省")
    private String signInProvince;

    @ApiModelProperty(value = "签到地址-市")
    private String signInCity;

    @ApiModelProperty(value = "签到地址-县/区")
    private String signInArea;

    @ApiModelProperty(value = "签到地址-镇")
    private String signInTown;

    @ApiModelProperty(value = "签到地址-详情地址")
    private String signInAddress;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
